package com.star.star.enums;

import com.star.common.base.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 作品类型（0原创 1翻唱）字典：art_type
 *
 * @author yangzj
 */
@AllArgsConstructor
@Getter
public enum ArtType implements BaseEnum<Integer> {

    /**
     * 作品类型（0原创 1翻唱）字典：art_type
     */
    ORIGINAL(0, "原创"),
    COVER(1, "翻唱");

    private final Integer code;
    private final String name;


    @Override
    public String getTypeCode() {
        return "art_type";
    }

    @Override
    public String getTypeName() {
        return "作品类型";
    }
}
